package org.lingshi.shopping_admin_srevice.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.lingshi.common.entity.Admin;
import org.lingshi.common.entity.Permission;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhanlf
 * @since 2024-06-24
 */
public interface AdminMapper extends BaseMapper<Admin> {

    Admin findById(Long id);

    List<Permission> findAllPermission(String username);
}
